﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Score.aspx.cs" Inherits="BalanceCenter_Score" %>

<%@ Register TagPrefix="ShoveWebUI" Namespace="Shove.Web.UI" Assembly="Shove.Web.UI.2 For.NET 2.0" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>工资管理系统 - 会员中心</title>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />
        
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
        
</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
    <form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td style="height: 50px" align="center">
                <span style="font-size: 12pt; color: #3399cc"><strong>业绩查询<asp:TextBox ID="tbID"
                    runat="server" Visible="False"></asp:TextBox></strong></span>
            </td>
        </tr>
        <tr>
            <td style="height: 50px" align="center">
                <table width="80%" border="0" cellspacing="0" cellpadding="0" style="padding-top: 3px;">
                    <tr>
                        <td>
                            会员搜索：<asp:TextBox ID="tbData" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlType" runat="server">
                                <asp:ListItem Value="Name">会员编号</asp:ListItem>
                                <asp:ListItem Value="RealityName">真实姓名</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td align="right" class="black12">
                            时间：<input id="tbStartTime" name="tbStartTime" runat="server" onclick="WdatePicker()" />
                        </td>
                        <td align="center">
                           &nbsp;&nbsp; 到 &nbsp;&nbsp;
                        </td>
                        <td align="left" class="black12">
                            <input id="tbEndTime" name="tbEndTime" runat="server" onclick="WdatePicker()" />
                        </td>
                        <td width="10%" class="black12">
                            <asp:ImageButton ID="ibSelect" runat="server" 
                                ImageUrl="../images/clearing/cw_button_1.jpg" onclick="ibSelect_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center" style="height: 138px" valign="top">
                <table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 94%">
                    <tr>
                        <td width="9">
                            <img height="19" src="../Images/Table1/table_leftUp.jpg" width="9" />
                        </td>
                        <td background="../Images/Table1/table_Up.jpg">
                            &nbsp;
                        </td>
                        <td width="9">
                            <img height="19" src="../Images/Table1/table_rightUp.jpg" width="9" />
                        </td>
                    </tr>
                    <tr>
                        <td background="../Images/Table1/table_left.jpg" width="9">
                            &nbsp;
                        </td>
                        <td bgcolor="#f5faff">
                            <table id="Table2" bgcolor="#ffffff" border="0" bordercolor="#ffffff" cellpadding="0"
                                cellspacing="1" style="border-collapse: collapse" width="100%">
                                <tr>
                                    <td align="center" bgcolor="#dae6f3" style="width: 264px">
                                        类别
                                    </td>
                                    <td align="center" bgcolor="#f0f4f8">
                                        左区
                                    </td>
                                    <td align="center" bgcolor="#f0f4f8">
                                        右区
                                    </td>
                                </tr>
                                <asp:Panel ID="Panel1" runat="server" Visible="false">
                                    <tr>
                                        <td align="center" bgcolor="#dae6f3" style="width: 264px">
                                            总业绩(市场情况)
                                        </td>
                                        <td align="center" bgcolor="#f0f4f8">
                                            <asp:Label ID="labSL1" runat="server" ForeColor="Red"></asp:Label>
                                        </td>
                                        <td align="center" bgcolor="#f0f4f8">
                                            <asp:Label ID="labSR1" runat="server" ForeColor="Red"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" bgcolor="#dae6f3" style="width: 264px">
                                            总业绩(本月)
                                        </td>
                                        <td align="center" bgcolor="#f0f4f8">
                                            <asp:Label ID="labSL2" runat="server" ForeColor="Red"></asp:Label>
                                        </td>
                                        <td align="center" bgcolor="#f0f4f8">
                                            <asp:Label ID="labSR2" runat="server" ForeColor="Red"></asp:Label>
                                        </td>
                                    </tr>
                                </asp:Panel>
                                <tr>
                                    <td align="center" bgcolor="#dae6f3" style="width: 264px">
                                        新增单数
                                    </td>
                                    <td align="center" bgcolor="#f0f4f8">
                                        <asp:Label ID="labSL3" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                    <td align="center" bgcolor="#f0f4f8">
                                        <asp:Label ID="labSR3" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" bgcolor="#dae6f3" style="width: 264px">
                                        结算单数
                                    </td>
                                    <td align="center" bgcolor="#f0f4f8">
                                        <asp:Label ID="labSumDistilled" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                    <td align="center" bgcolor="#f0f4f8">
                                        <asp:Label ID="labSumDistilled2" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" bgcolor="#dae6f3" style="width: 264px">
                                        剩余单数
                                    </td>
                                    <td align="center" bgcolor="#f0f4f8">
                                        <asp:Label ID="labSL4" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                    <td align="center" bgcolor="#f0f4f8">
                                        <asp:Label ID="labSR4" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                                <%--<tr>
                                    <td align="center" bgcolor="#dae6f3" style="width: 264px">
                                        总碰数
                                    </td>
                                    <td align="center" colspan="2" bgcolor="#f0f4f8">
                                        
                                    </td>
                                </tr>--%>
                            </table>
                        </td>
                        <td background="../Images/Table1/table_right.jpg" width="9">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="9">
                            <img height="21" src="../Images/Table1/table_leftDown.jpg" width="9" />
                        </td>
                        <td background="../Images/Table1/table_Down.jpg">
                            &nbsp;
                        </td>
                        <td width="9">
                            <img height="21" src="../Images/Table1/table_rightDown.jpg" width="9" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center">
                <table width="96%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td align="left" style="height: 27px">
                            <strong><span style="color: #3399cc">业绩明细表</span></strong>
                        </td>                       
                    </tr>
                    <tr>
                        <td >
                            <asp:DataGrid ID="g2" runat="server" BackColor="#6CA4E4" CellPadding="5" Width="100%"
                                CellSpacing="1" BorderWidth="0px" AllowSorting="True" AutoGenerateColumns="False"
                                AllowPaging="True" CssClass="gStyle" OnItemDataBound="g2_ItemDataBound">
                                <FooterStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
                                <SelectedItemStyle HorizontalAlign="Center" Font-Bold="True" ForeColor="White"></SelectedItemStyle>
                                <HeaderStyle HorizontalAlign="Center" ForeColor="Navy" VerticalAlign="Middle" CssClass="gHeader">
                                </HeaderStyle>
                                <ItemStyle CssClass="gItem" BackColor="White" />
                                <Columns>                                 
                                    <asp:BoundColumn DataField="Name" HeaderText="会员ID"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="DateTime" HeaderText="日期"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="Earning" HeaderText="奖金"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="L" HeaderText="左区业绩"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="R" HeaderText="右区业绩"></asp:BoundColumn>                                
                                </Columns>
                                <PagerStyle Visible="False" HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC">
                                </PagerStyle>
                            </asp:DataGrid>
                            <ShoveWebUI:ShoveGridPager ID="gPager" BorderWidth="0" CssClass="gStyle" BorderStyle="None"
                                runat="server" Width="100%" ShowSelectColumn="False" DataGrid="g2" OnPageWillChange="gPager_PageWillChange"
                                OnSortBefore="gPager_SortBefore" AlternatingRowColor="White" HotColor="White"
                                GuiseColor="False" ClientNavigation="true" PageSize="20" />
                        </td>
                    </tr>                    
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
